Mention subclassing, aliasing and supertypes.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 29 Nov 2004 06:09:33 +0000 (06:09 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 29 Nov 2004 06:09:33 +0000 (06:09 +0000)
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkfilefilter.sgml: Mention subclassing, aliasing
and supertypes.

docs/reference/ChangeLog
docs/reference/gtk/tmpl/gtkfilefilter.sgml

index cbf23537f935f1fd479a6937397ad9c75ed0e772..11887c25be38fab93d318ce2b0996589ca35c620 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/tmpl/gtkfilefilter.sgml: Mention subclassing, aliasing
+       and supertypes.
+
 2004-11-28  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/images/combo-box.png: New image
index fbe7130cdebd9fb02af20a8185fd4018ff49daa5..34cc4d8f5897c64f4370f0a5c33b1ea0a41954ec 100644 (file)
@@ -13,6 +13,14 @@ gtk_file_filter_add_mime_type()), or by a custom filter function
 (with gtk_file_filter_add_custom()). 
 </para>
 
+<para>
+Filtering by mime types handles aliasing and subclassing of mime
+types; e.g. a filter for text/plain also matches a file with mime 
+type application/rtf, since application/rtf is a subclass of 
+text/plain. Note that #GtkFileFilter allows wildcards for the 
+subtype of a mime type, so you can e.g. filter for image/*.
+</para>
+
 <para>
 Normally, filters are used by adding them to a #GtkFileChooser,
 see gtk_file_chooser_add_filter(), but it is also possible